.386
.model flat, stdcall
.stack 4096
ExitProcess proto,
dwExitCode: dword

..data
       mval dword 664781
       dval dword 8

..code
_main PROC
       ; MUL 1-op
       mov eax, mval
       mov ebx, 8
       mul ebx

       ; IMUL 1-op
       mov eax, mval
       mov ebx, 8
       imul ebx

       ; IMUL 2-op
       mov eax, 8
       imul eax, mval

       ; IMUL 3-op
       imul eax, mval, 8

       ; DIV 1-op
       mov edx, 0
       mov eax, 5318008

       ;  IDIV 1-op
       mov edx, 0
       mov eax, 5318008
       mov ecx, dval
       idiv ecx

       INVOKE ExitProcess, 0
_main ENDP
end _main
